import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//全局样式列表
import '@/styles/index.scss'
import 'element-plus/es/components/message/style/css'
import 'element-plus/es/components/message-box/style/css'
// import 'default-passive-events'
// 路由及权限控制1
import '@/permission'

import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

//使用mock数据
// if(process.env.NODE_ENV === 'development') require('../mock')
createApp(App).use(ElementPlus, {
    locale: zhCn
})
createApp(App).use(store).use(router).mount('#app')
